/**
 * 
 */
package com.huniu.analysis.dictionary.tree.model;

import java.io.Externalizable;
import java.util.Map;

/**
 * @author zandy (chenheng)
 *
 */
public interface Node extends Externalizable {
	public void setParent(Node parent);
	public Node getParent();
	public void setPair(ValuePair pair);
	public ValuePair getPair();
	public boolean isEndNode();
	public Map<ValuePair,Node> getChildren();
	public void addChild(ValuePair value,Node child);
	public void removeChild(Node child);

}
